package com.woniuxy.store.core.service;

import com.woniuxy.store.core.mapper.PmMessageMapper;
import com.woniuxy.store.core.model.PmMessage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Select;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gmx
 * @since 2021-07-06
 */
public interface PmMessageService extends IService<PmMessage> {
    List<PmMessage> selectAnnouncementMessage();

    List<PmMessage> selectNotification(Integer storeId);

    List<PmMessage> selectEventNotification();

    int postAMessage(Integer storeId);
}
